@inherits RenderViewPage
@using System.Web.Mvc.Html;
@using Umbraco.Cms.Web;
@using PBDesk.com.Extension.UmbHelper;
@using PBDesk.Utilities;
@{
	Layout = "_LayoutHtml5.cshtml";
		string Theme = MyHelper.GetTheme();
}

@section head
{
  @Html.Partial("Common/HeadTags")
  @RenderSection("head", false)
}
<div id="fb-root"></div>
<div id="wrap">
  @Html.Partial(Theme +  "/BodyHeader")
  <div id="contents">
	@RenderSection("TopBanner", false)
    <div class="clear"></div>
	@RenderSection("BodyTop", false) 
    <div class="clear"></div>
	@RenderBody()
    <div class="clear"></div>
	@RenderSection("BodyBottom", false)
	<div class="clear"></div>    
	<div class="googleAd-bottom">
	  @Html.Partial("ads/ad728x90")
	</div>
	<div class="clear"></div>
	@RenderSection("GrayBanner", false)
	@RenderSection("BottomBanner", false)	
  </div>
  @Umbraco.RenderMacro("footer")
</div>
<script type="text/javascript">
    $(document).ready(function () {
        LoadFbJsSdk(document, 'script', 'facebook-jssdk');
        LoadJSFile("https://apis.google.com/js/plusone.js");
        LoadJSFile("http://www.google.com/cse/brand?form=cse-search-box&amp;lang=en");
    });
</script>
@Html.Partial("Common/GoogleAnalytics")